Optimal. Leaf size=23 \[ \frac {2 \sqrt {a x^2+b x^3}}{b x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {1602}
\begin {gather*} \frac {2 \sqrt {a x^2+b x^3}}{b x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1602
Rubi steps
\begin {align*} \int \frac {x}{\sqrt {a x^2+b x^3}} \, dx &=\frac {2 \sqrt {a x^2+b x^3}}{b x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 21, normalized size = 0.91 \begin {gather*} \frac {2 \sqrt {x^2 (a+b x)}}{b x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.36, size = 25, normalized size = 1.09
method | result | size |
trager | \(\frac {2 \sqrt {b \,x^{3}+a \,x^{2}}}{b x}\) | \(22\) |
risch | \(\frac {2 x \left (b x +a \right )}{\sqrt {x^{2} \left (b x +a \right )}\, b}\) | \(23\) |
gosper | \(\frac {2 x \left (b x +a \right )}{b \sqrt {b \,x^{3}+a \,x^{2}}}\) | \(25\) |
default | \(\frac {2 x \left (b x +a \right )}{b \sqrt {b \,x^{3}+a \,x^{2}}}\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 12, normalized size = 0.52 \begin {gather*} \frac {2 \, \sqrt {b x + a}}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.35, size = 21, normalized size = 0.91 \begin {gather*} \frac {2 \, \sqrt {b x^{3} + a x^{2}}}{b x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\sqrt {x^{2} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.37, size = 27, normalized size = 1.17 \begin {gather*} -\frac {2 \, \sqrt {a} \mathrm {sgn}\left (x\right )}{b} + \frac {2 \, \sqrt {b x + a}}{b \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.14, size = 17, normalized size = 0.74 \begin {gather*} \frac {2\,\left |x\right |\,\sqrt {a+b\,x}}{b\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________